<el-input v-if="typeof defaultProps.keyword !== 'undefined'" style="width: 20%;" placeholder="请输入分类名称" v-model="defaultProps.keyword" class="input-with-select">
  <el-button slot="append" icon="el-icon-search" @click="search"></el-button>
</el-input>
@push('footer')
  <script>
    $(function () {
      category_app.$set(category_app.defaultProps, "keyword",@json(isset($_GET['keyword'])?$_GET['keyword']:''));
      category_app.search = function () {

        window.location.href = "/{{admin_name()}}/categories?keyword="+category_app.defaultProps.keyword;
      }
    });

  </script>
@endpush
